package net.gdface.face.Entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by hewenwen on 2017/11/29.
 *
 * 前端设备基本信息
 *
 */

@Entity
public class fl_device {

    @Id(autoincrement = true)
    private long id;//设备id
    private int group_id;//所属设备组id
    private String name;//设备名称
    private String version;//设备版本号
    private String serial_no;//设备序列号
    private String mac;//6字节的MAC地址(HEX)
    public String getMac() {
        return this.mac;
    }
    public void setMac(String mac) {
        this.mac = mac;
    }
    public String getSerial_no() {
        return this.serial_no;
    }
    public void setSerial_no(String serial_no) {
        this.serial_no = serial_no;
    }
    public String getVersion() {
        return this.version;
    }
    public void setVersion(String version) {
        this.version = version;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getGroup_id() {
        return this.group_id;
    }
    public void setGroup_id(int group_id) {
        this.group_id = group_id;
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public void setId(long id) {
        this.id = id;
    }
    @Generated(hash = 577147540)
    public fl_device(long id, int group_id, String name, String version,
            String serial_no, String mac) {
        this.id = id;
        this.group_id = group_id;
        this.name = name;
        this.version = version;
        this.serial_no = serial_no;
        this.mac = mac;
    }
    @Generated(hash = 2144584231)
    public fl_device() {
    }

}
